﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using nRoute.Components;
using nRoute.SiteMaps;

namespace nRouteWizard.Wizard.Views
{
	public partial class WidgetConfigurationView : UserControl
	{
		public WidgetConfigurationView()
		{
			InitializeComponent();
			this.SetRelayConverter("IndexToNodeUrlConverter", new ValueConverter<int, string>(
				(i, p) => ((NavigationNode)((NavigationNode)p).ChildNodes[i - 1]).Url));
		}
	}
}
